package com.dmx.fw.service.interfaces;

import java.util.List;

import com.dmx.fw.bean.mapping.pojo.CacheCode;
import com.dmx.fw.bean.mapping.pojo.Role;

public interface CacheCodeService extends Service {
	/**
	 * 取得“是、否”下拉框的内容
	 * @param 
	 * @return
	 */
	public abstract List getIsCacheList();
	/**
	 * 取得“是、否”
	 * @param 
	 * @return
	 */
	public abstract String getIsCacheTextByCode(String code);
	/**
	 * 根据ID取得一个Cache Code
	 * @param 
	 * @return
	 */
	public abstract CacheCode getOneCacheCode(Long id);
	/**
	 * 判断编码是否重复
	 * @param 
	 * @return
	 */
	public abstract boolean checkCodeUnique(CacheCode cacheCode);
}
